500ab6243bcc21cfa7bf0c52f338631c4e1ac4eb,spring-social-twitter/src/main/java/org/springframework/social/twitter/api/impl/FriendTemplate.java,FriendTemplate,enableNotifications,#number#,178

Before Change


	
	public TwitterProfile enableNotifications(long userId) {
		requireAuthorization();
		return restTemplate.postForObject(buildUri("notifications/follow.json", "user_id", String.valueOf(userId)), EMPTY_DATA, TwitterProfile.class);
	}
	
	public TwitterProfile enableNotifications(String screenName) {

After Change


	
	public TwitterProfile enableNotifications(long userId) {
		requireAuthorization();
		LinkedMultiValueMap<String, String> params = new LinkedMultiValueMap<String, String>();
		params.set("user_id", String.valueOf(userId));
		params.set("device", "true");
		return restTemplate.postForObject(buildUri("friendships/update.json", params), EMPTY_DATA, TwitterProfile.class);
	}